namespace XEAS.Framework.ShellLib
{
    using System;
    using System.Runtime.InteropServices;

    [ComImport, InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("9CC22886-DC8E-11d2-B1D0-00C04F8EEB3E")]
    public interface IFolderFilter
    {
        [PreserveSig]
        int ShouldShow([MarshalAs(UnmanagedType.Interface)] object psf, IntPtr pidlFolder, IntPtr pidlItem);
        [PreserveSig]
        int GetEnumFlags([MarshalAs(UnmanagedType.Interface)] object psf, IntPtr pidlFolder, IntPtr phwnd, out uint pgrfFlags);
    }
}

